


namespace Core.Extensions
{
    using System;
    using System.Collections.Generic;
    using Base;
    using Contracts.Enums;
    using Contracts.Interfaces;
    using Resources;

    /// <summary>
    /// Accumulator expansion Extension class
    /// </summary>
    
    public sealed class AccumulatorExpansion: ExtensionBase
    {
        /// <summary>
        /// Create a new instance of the <see cref="T:Core.Extensions.AccumulatorExpansion"/> class.
        /// </summary>
        public AccumulatorExpansion()
            : base(
                Traduction.extensions_accumulator_expansion, 
                ExtensionGroupsEnum.Engineering,
                5,
                0, 
                new ExtensionCost(125000,0),
                new ICondition<IExtension>[] { new ExtensionCondition<ReactorExpansion>(5) } )
        {
            Modifiers = new IModifier[]
                            {
                                new Modifier(FeatureTypesEnum.Robot,FeaturesEnum.AccumulatorCapacity,0.03)
                            };
            
        }

        /// <summary>
        /// Obtains the extension description
        /// </summary>
        public override string Description
        {
            get { return Traduction.extensions_accumulator_expansion_description; }
        }
    }
}